package com.quanyan.authority.model.request;

import com.quanyan.authority.model.db.TbRole;
import com.quanyan.authority.model.db.TbRoleMenu;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by Administrator on 2016/8/1.
 */
public class ReqRole extends ReqBaseParam{

    private Integer systemId;

    private String systemCode;

    private List<TbRoleMenu> lstRmId;

    private List<Integer> lstMenuId;

    /**
     * 1 增加
     * 2 删除
     */
    private Integer type ;

    private  List<TbRoleMenu> idsAdd;
    private  List<TbRoleMenu> idsDel;



    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public List<TbRoleMenu> getLstRmId() {
        return lstRmId;
    }

    public void setLstRmId(List<TbRoleMenu> lstRmId) {
        this.lstRmId = lstRmId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<Integer> getLstMenuId() {
        return lstMenuId;
    }

    public void setLstMenuId(List<Integer> lstMenuId) {
        this.lstMenuId = lstMenuId;
    }

    public List<TbRoleMenu> getIdsAdd() {
        return idsAdd;
    }

    public void setIdsAdd(List<TbRoleMenu> idsAdd) {
        this.idsAdd = idsAdd;
    }

    public List<TbRoleMenu> getIdsDel() {
        return idsDel;
    }

    public void setIdsDel(List<TbRoleMenu> idsDel) {
        this.idsDel = idsDel;
    }

    @Override
    public String toString() {
        return "ReqRole{" +
                "systemId=" + systemId +
                ", systemCode='" + systemCode + '\'' +
                ", lstRmId=" + lstRmId +
                ", lstMenuId=" + lstMenuId +
                ", type=" + type +
                ", idsAdd=" + idsAdd +
                ", idsDel=" + idsDel +
                '}';
    }
}
